package com.ingesup.dao;

import java.util.List;

import com.ingesup.entities.LettreType;

/**
 * @author FDEJEAN
 */

public class LettreDaoImpl extends GenericDaoImpl<LettreType> implements LettreDao {

	public LettreDaoImpl(Class<LettreType> type) {
		super(type);
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public List<LettreType> getAll() {
		return em.createNamedQuery("getAllLettres", LettreType.class).getResultList();
	}

}
